/* 首页 */
.container{
    padding:20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* border:1px solid red; */
    background: url(../images/pongup-4mation.jpg) no-repeat center center;
    /* opacity: 0.6; */
    background-size:cover;
}
/* 导航 */
.navigation{
    position: absolute;
    top:0;
    left:0;
    width: 280px;
    height: 350px;;
    /* border: 1px solid red; */
}
.nav-box{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.btn{
    position: relative;
    display:block;
    color:white;
    font-size:14px;
    font-family: "montserrat";
    text-decoration:none;
    margin: 30px 0;
    border:2px solid #CAD3C8;
    border-radius: 5px;
    padding: 10px 15px;
    /*  改变为大写*/
    text-transform: uppercase;
    overflow: hidden;
    /* 缓慢过度1s */
    transition: 1s all ease;
    z-index: 1;
    background-color: #2d3436;
    text-align: center;
}
.btn::before{
    background: #CAD3C8;
    content: "";
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    /* width: 100%;
    height: 100%; */
    z-index: -1;
    transition: all 0.6s ease;

}
.btn1::before{
    width: 0;
    height: 100%;
}
.btn1:hover::before{
    width: 100%;
}
.btn2::before{
    width: 100%;
    height: 0;
}
.btn2:hover::before{
    height: 100%;
}
.btn3::before{
    width: 100%;
    height: 0;
    transform: translate(-50%,-50%) rotate(45deg);
}
.btn3:hover::before{
    height: 400%;
}
.btn4::before{
    width: 100%;
    height: 0;
    transform: translate(-50%,-50%) rotate(-45deg);
}
.btn4:hover::before{
    height: 400%;
}
.btn5::before{
    width: 100%;
    height: 0;
    transform: translate(-50%,-50%) rotate(45deg);
}
.btn5:hover::before{
    height: 400%;
}

/* 卡片 */
.card{
    position: relative;
    width: 350px;
    height: 450px;
    background-color: #E9F1F6;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0.8;
}
.card:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 270px;
    top:0;
    left:0;
    background-image: linear-gradient(to top,#c8d6e5,#a5aeb6);
    clip-path:circle(400px at 50% -48.5%);
    opacity: 0.1;

}

.card-header{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-header .image{
    position: absolute;
    top: 40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: url("../images/avatar.jpg") no-repeat center/cover;
    border:4px solid #00d8fe;
    margin-bottom: 2px;
    transition: all 0.5s linear;

}
.card-header .image:hover{
    transform:rotate(360deg);
    /* transition: 0.5s; */
}
.card-header h3{
    position: absolute;
    top: 220px;
}
.card-content{
    position: absolute;
    width: 100%;
    top: 60%;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-content ul{
    position: absolute;
    top: 600%;
}
.card-content ul li {
    list-style: none;
    float: left;
    margin: 5px;
}
.card-content ul li i{
    font-size: 35px;
    color: black;
}

/* 关于我 */
.aboutme{
    width: 1200px;
    height: 550px;
    margin: 40px auto;
    border: 2px solid #E5E6E6;
    padding:25px;
    
}
.aboutme .me{
    width: 1100px;
    height: 400px;
    padding:20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    margin: 20px auto;
    border:1px solid #E5E6E6;
    background-color: white;

}

.aboutme .me .me-left{
    float: left;
    width: 500px;
    height: 350px;
    padding: 10px;
    box-shadow: 0px 0px 5px 6px #eeeeee;
    background-color: #EFFAFF;
}
/* 基本信息 */
.aboutme .me .me-left span,.aboutme .me .me-right span{
    display: block;
    text-align: center;
    width: 80px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    color: white;
    background-color: #254665;
}
.aboutme .me .me-left ul{
    width: 300px;
    height: 200px;
    list-style: none;
    margin:20px auto;
}
.aboutme .me .me-left ul li{
    line-height: 30px;
}
.aboutme .me .me-right ul{
    margin-left: 45px;
    margin-top: 15px;
}
.aboutme .me .me-right ul li{
    line-height: 30px;
}

.aboutme .me .me-right{
    padding: 10px;
    float: right;
    width: 500px;
    height: 350px;
    box-shadow: 0px 0px 5px 6px #eeeeee;
    background-color: #EFFAFF;
}
/* 我的爱好 */
.mylove{
    width: 1200px;
    height: 650px;
    margin: 40px auto;
    border: 2px solid #E5E6E6;
    padding:25px;
    
}
.mylove .love{
    width: 1100px;
    height: 500px;
    padding:20px;
    margin:20px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;;
    border:1px solid #E5E6E6;
    background-color: white;
}
.mylove .love .love-box{
    width: 340px;
    height: 400px;
    border:1px solid #E5E6E6;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12);
    transition: all 0.5s ease;
}
.mylove .love .love-box:hover{
    transform: translateY(-5px);
    box-shadow: 0px 0px 3px 2px #48dbfb;
}
.mylove .love .love-box img{
    width: 100%;
    height: 259px;
}
.mylove .love .love-box p {
    margin: 10px;
    text-indent: 2em;
    letter-spacing: 2px;
    font-size: 15px;
    line-height: 25px;
    /* 两端对齐 */
    text-align:justify;
    text-justify:inter-ideograph;
}

/* 我的作品 */
.mywork{
    width: 1200px;
    height: 580px;
    margin: 40px auto;
    border: 2px solid #E5E6E6;
    padding:25px;

}
.mywork img {
    width: 250px;
    height: 180px;
    border-radius: 5px;
    border: 1px solid #E5E6E6;
}

.mywork .works{
    width: 1100px;
    height: 430px;
    padding:20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;;
    margin: 20px auto;
    border:1px solid #E5E6E6;
    background-color: #EFFAFF;
}
.mywork .works .work-box{
    transition: all 0.5s linear;
}
.mywork .works .work-box:hover{
    transform: translateY(-5px);
    box-shadow: 0px 0px 3px 2px #48dbfb;
}

/* 我的同伴 */
.myparters{
    width: 1200px;
    height: 600px;
    margin: 40px auto;
    border: 2px solid #E5E6E6;
    padding:25px;

}
.parters{
    position: relative;
    display: flex;
    width: 1100px;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    background-color: #EFFAFF;
    padding:20px;
    margin-top: 20px;
    /* box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12); */
    border:1px solid #E5E6E6;
    
}
.parters .box {
    position: relative;
    width: 230px;
    height: 350px;
    margin: 20px 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 5px;

}


.parters .box .imgBx{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    clip-path: circle(400px at center 100px);
    transition:0.5s;
    transition-delay: 0.2s;
    /* border: 1px solid red; */
}

.parters .box:hover .imgBx {
    clip-path: circle(70px at center 100px);
    transition-delay: 0s;
}


/* .parters .box:hover .imgBx img {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
} */

.parters .box .content{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 55%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}
.parters .box .content h2 {
    margin: 0px;
    padding:0px;
    margin-bottom: 10px;

}
.parters .box .content  a{
    text-decoration: none;
    background: #000;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    padding: 5px;
    display: inline-block;
}
.parters .box .content h2,
.parters .box .content p,
.parters .box .content a{
    opacity: 0;
    transition:0.5s;
    transform: translateY(20px);
} 
.parters .box:hover .content h2{
    opacity:1;
    transform: translateY(0px);
    transition-delay:0.5s;
}
.parters .box:hover .content p{
    opacity:1;
    transform: translateY(0px);
    transition-delay:0.7s;
}
.parters .box:hover .content a{
    opacity:1;
    transform: translateY(0px);
    transition-delay:0.9s;
} 
/* 联系我 */
.contractme{
    width: 1200px;
    height: 550px;
    margin: 40px auto;
    border: 2px solid #E5E6E6;
    padding: 25px;

    
}
.contact{
    position: relative;
    width: 1100px;
    height: 400px;
    margin: 20px auto;
    background-color: #EFFAFF;
    border: 1px solid #E5E6E6;
    padding: 20px;
}
.contact .contact-left{
    width: 500px;
    height: 350px;
    float: left;
    padding: 10px;
    border: 1px solid #E5E6E6;
}
.contact .contact-right{
    width: 500px;
    height: 350px;
    float: right;
    padding:10px;
    border: 1px solid#E5E6E6;
}
.contact-left span{
    display: block;
    text-align: center;
    width: 80px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    color: white;
    margin: 5px;
    background-color: #254665;

}
.contact-right span{
    display: block;
    text-align: center;
    width: 90px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    color: white;
    margin: 5px;
    background-color: #254665;
}
.contact ul{
    display: block;
    width: 350px;
    height: 200px;
    list-style: none;
    margin:20px auto;
}
.contact ul li {
    line-height: 30px;
    margin-left: 20px;
}
.contact textarea{
    width: 400px;
    height: 100px;
    display: block;
    margin: 20px auto;
    padding :10px;
    display: block;
    box-sizing: border-box;
    max-height: 100px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: white;
    outline: none;
    transition: all 0.25s ease;
}
.contact textarea:hover{
    border:1px solid #48dbfb;
}
.contact button{
    padding: 8px 14px;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #6190e8;
    border-radius: 5px;
    background-color: #6190e8;
    color: #fff;
    outline: none;
    font-size: 12px;
    float: right;
    margin-right: 60px;
}
.contact button:hover{
    background-color: #3385FF;
}